﻿using Gnivc.CarDealership.Api.Domain.Primitives;

namespace Gnivc.CarDealership.Api.Domain.Entities;

public class Brand : EntityBase
{
    public string Name { get; set; }

    public ICollection<Model> Models { get; set; }

    private Brand() { }

    public Brand(Guid id, string name)
        : base(id)
    {
        Name = name;
    }
}